Add executable path to Python environment descriptions in picker dropdown#430
Closed
Add executable path to Python environment descriptions in picker dropdown#430
Conversation
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] select environment detail info
Add executable path to Python environment descriptions in picker dropdown
May 20, 2025
Member
|
@cwebster-99 what do you think of this? @karthiknadig pointed out that we removed this for being too noisy but I do kinda like the info? |
Member
|
The code itself is fine, I will approve this but wait for Courtney to respond. |
karthiknadig
approved these changes
May 20, 2025
Member
|
Posted some follow up in the corresponding issue #422 (comment) |
Member
|
ok holding off for now on this- I think fixing the other bug (with the duplicate 3.12) will make the path included as extra description less useful |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR adds the executable path information to Python environment descriptions in the environment picker dropdown. Previously, the paths were removed to reduce noise, but based on user feedback, this information is useful for distinguishing between similarly-named environments.
Changes
src/common/pickers/environments.tsto display the executable path in the description field when no description is available.pickEnvironmentfunction - main environments listpickEnvironmentfunction - recommended environment sectionpickEnvironmentFromfunction - direct environment selectionBefore
Environment entries showed just the name without path information:

After
Environment entries now show the executable path in the description field, making it easier to distinguish between multiple environments with the same version.
Fixes #422.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.